<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">上级位置：</label>
                            <div class="col-sm-8">
                                <input id="parentId" name="parentId" th:value="${pId}"
                                       class="form-control hidden" type="text">
                            </div>
                            <div class="col-sm-8">
                                <input id="pName" name="pName" th:value="${pName}"
                                       class="form-control" type="text" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">类型：</label>
                            <div class="col-sm-8">
                                <label class="radio-inline">
                                    <input type="radio" name="delFlag" value="1" onfocus="changeDelFlag('1');"/> 位置
                                </label>
                                <label class="radio-inline">
                                    <input type="radio" name="delFlag" value="2" onfocus="changeDelFlag('2');"/> 项目
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label"><span style="color: #F00;">*</span><span id="show1">安全位置：</span></label>
                            <div class="col-sm-8">
                                <input id="safePosition" name="safePosition" class="form-control" type="text">
                            </div>
                        </div>
                        <!--<div class="form-group">
                            <label class="col-sm-3 control-label"><span style="color: #F00;">*</span>项目名称：</label>
                            <div class="col-sm-8">
                                <input id="name" name="name" class="form-control" type="text">
                            </div>
                        </div>-->
                        <!--<div class="form-group">
                            <label class="col-sm-3 control-label"><span style="color: #F00;">*</span>检查开始时间：</label>
                            <div class="col-sm-8">
                                <input id="checkTimeStart" name="checkTimeStart" class="form-control" type="date">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label"><span style="color: #F00;">*</span>检查结束时间：</label>
                            <div class="col-sm-8">
                                <input id="checkTimeEnd" name="checkTimeEnd" class="form-control" type="date">
                            </div>
                        </div>-->
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/system/safeItem/add.js">
</script>
</body>
</html>
